package com.reading.message.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 短信相关配置
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "smsPlugin")
public class SmsConfig {

    //------------短信相关

    private String encryptKey = "dk-s+%jf$iH#U@G)feqi*&*(239";

    private boolean sendSmsFlag = false;

    private String smsUrl;

    /**
     * 短信平台账户
     */
    private String smsName;
    private String smsPwd;
    private String smsSign;
    private String smsType;

}
